// 
import request from "./request";

export function loginAPI({account, password}) {
    return request({
        url: '/login',
        method: 'POST',
        data: {
            account,
            password
        }
    })
}

// 猜你喜欢数据

export function getLikeAPI(limit = 4) {
    return request({
        url: '/goods/relevant',
        params: {
            limit
        }
    })
}